package com.koron.ticket.workchange.ticketchangedirector.service;


import com.koron.bean.base.Response;
import com.koron.ticket.workchange.ticketchangedirector.bean.TicketChangeDirector;
import com.koron.ticket.workchange.ticketchangedirector.bean.TicketChangeDirectorQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketChangeDirector)表服务接口
 *
 * @author 朱超
 * @since 2021-10-26 20:28:36
 */
public interface TicketChangeDirectorService {

    Response insert(SessionFactory factory, TicketChangeDirector ticketChangeDirector);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, TicketChangeDirector ticketChangeDirector);

    Response getById(SessionFactory factory, String id);

    TicketChangeDirector getSingle(SessionFactory factory, TicketChangeDirectorQuery ticketChangeDirectorQuery);

    List<TicketChangeDirector> getList(SessionFactory factory, TicketChangeDirectorQuery ticketChangeDirectorQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
